/**
 * @description 组件样式
 * @author: 陈陈
 * @date: 2025/05/09
 * @phone: 18560000860
 * @email: 18560000860@qq.com
 * @company: 济南晨霜信息技术有限公司 /
 * @business: 承接前后端项目的开发
 */
.pure-avatar {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: var(--pure-avatar-size, 60px);
	height: var(--pure-avatar-size, 60px);
	border-radius: var(--pure-avatar-radius, var(--pure-radius-circle));
	position: relative;
	overflow: var(--pure-avatar-overflow, hidden);

	&__image {
		width: 100%;
		height: 100%;
		display: block;
	}

	&__default {
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
	}

	&__edit {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 2;
		background: var(--pure-avatar-edit-background, var(--pure-background-mask));
		color: var(--pure-avatar-edit-color, var(--pure-text-color-invert));
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		padding: 2px 0;
		font-size: var(--pure-avatar-edit-font-size, var(--pure-font-size-small));
		font-weight: var(--pure-avatar-edit-font-weight);
	}

	&__body {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
	}
}
